#pragma once
#include "StudentRegister.h"
#include "CourseUppgift5.h"

using namespace std;

class LanguageCourse : public CourseUppgift5
{

private: 
	char grade;
public:

	LanguageCourse()
	{
		this->grade = ' ';
	}

	LanguageCourse(string name, int year, char grade) : CourseUppgift5(name, year)
	{
		this->grade = grade;
	}

	void print()
	{
		CourseUppgift5::print();
		cout << "Grade: " << grade << endl;
	}

	char GetGrade(){ return this->grade; }
	void SetGrade(char s){ this->grade = s; }


	~LanguageCourse()
	{
	}
};

